home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / libraries / svlib102d.lha / superview-lib_DEV / Programmers / include / svdrivers / svdriverbase.h next >
Encoding:
C/C++ Source or Header  |  1995-02-17  |  1.8 KB  |  71 lines

  1. /* svdrivers/svdriverbase.h        */
  2. /* Version    : 9.13                */
  3. /* Date       : 06.01.1995        */
  4. /* Written by : Andreas R. Kleinert */
  5.  
  6. /* SVDriver-Version V1.x+ */
  7.  
  8. #ifndef SVDRIVERS_SVDRIVERBASE_H
  9. #define SVDRIVERS_SVDRIVERBASE_H
  10.  
  11. #ifndef SVDRIVERS_SVDRIVERS_H
  12. #include <svdrivers/svdrivers.h>
  13. #endif /* SVDRIVERS_SVDRIVERS_H */
  14.  
  15. #ifndef EXEC_LISTS
  16. #include <exec/lists.h>
  17. #endif /* EXEC_LISTS */
  18.  
  19. #ifndef EXEC_LIBRARIES
  20. #include <exec/libraries.h>
  21. #endif /* EXEC_LIBRARIES_H */
  22.  
  23.    /* An external Driver-Library (for graphics cards, framebuffers, etc.)
  24.       for the superview.library is called a SVDriver.
  25.       Each SVDriver has to contain a "SVD_DriverNode" structure (as follows)
  26.       in its Library-Header, which later will be READ and MODIFIED by
  27.       the superview.library.
  28.  
  29.       The Construction of a svdriver :
  30.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  31.  
  32.       The Library Base
  33.       ----------------
  34.  
  35.       Version MUST be 1 yet, Revision can be set freely
  36.  
  37.       (see structure described below)
  38.  
  39.  
  40.       The Function Table
  41.       ------------------
  42.  
  43.       (see <pragmas/svdrivers.h> or Reference_ENG.doc)
  44.  
  45.    */
  46.  
  47. /* *************************************************** */
  48. /* *                             * */
  49. /* * Library base Definition for svdrivers         * */
  50. /* *                             * */
  51. /* *************************************************** */
  52.  
  53. struct SVDriverBase
  54. {
  55.  struct Library     svb_LibNode;       /* Exec LibNode             */
  56.  struct SVD_DriverNode *svb_SVDriver;       /* POINTER to initialized         */
  57.                        /* SVD_DriverNode             */
  58.                        /* Define it somewhere else,      */
  59.                        /* then initialize this pointer.  */
  60.  
  61.  ULONG            svd_Reserved [32]; /* Reserved for future expansion. */
  62.                        /* Always NULL yet (Version 1).   */
  63.  
  64.  /*
  65.    Private data of the svdriver, not to be accessed
  66.    by superview.library, may follow.
  67.  */
  68. };
  69.  
  70. #endif /* SVDRIVERS_SVDRIVERBASE_H */
  71.